package com.keepers.repair.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;

import com.keepers.repair.R;
import com.keepers.repair.helper.SpHelper;
import com.keepers.repair.model.UserModel;
import com.keepers.repair.net.Call;
import com.keepers.repair.net.DataLoader;

/**
 * auth aboom
 * date 2018/11/17
 */
public class ReportActivity extends BaseActivity {

    private UserModel loginUserInfo;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_report);


        loginUserInfo = SpHelper.getLoginUserInfo();


        reload();


    }

    private void reload() {
        rxHelper.pend(DataLoader.submitRepairTask(loginUserInfo.Gid, new Call() {
            @Override
            public void call(Object o) {

            }
        }));

    }
}
